package com.sky.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

//回复实体类
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor

@Schema(description = "用户评论时传递的数据模型")
public class ReplyDTO {

    //主键id
    private Long id;


    //评论id
    private Long commentId;

    //回复内容
    private String content;
    
    //回复人昵称
    private String nickname;
    
    //回复人邮箱
    private String email;
    
    //回复的是哪个评论的id。可以为空，代表是对文章的评论
    private Long replyToId;
    
    //被回复的人昵称
    private String replyToNickname;

    //邮箱验证码
    private String code;

    //创建时间
    private LocalDateTime createTime;

    //更新时间
    private LocalDateTime updateTime;

}
